//定义服务器返回类型基类
export interface BaseResponseData {
  code: number
  message: string
  ok: boolean
}

//单个品牌信息类型
export interface Trademark {
  id?: number
  tmName: string
  logoUrl: string
}

export type Records = Trademark[]
//定义获取分布品牌数据类型
export interface TrademarkResponsePageData extends BaseResponseData {
  data: {
    records: Records
    total: number
    size: number
    current: number
    searchCount: boolean
    pages: number
  }
}

//定义获取全部品牌数据类型
export interface TrademarkResponseData extends BaseResponseData {
  data: Records
}
